package com.abc.intellihome.domain;

import com.baomidou.mybatisplus.annotation.*;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@NoArgsConstructor
@TableName("furniture")
public class Furniture {
    @TableId
    int furnitureId;
    String name;
    String type;
    int onOff;
    String username;

    @TableField(fill = FieldFill.INSERT)
    Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    Date updateTime;
    @TableLogic
    int isDeleted;


}
